/* 公共样式 */
* {
  margin: 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
}
a {
  color: inherit;
}
img {
  display: block;
}
body {
  background-image: url(../img/back-img.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
/* 轮播图 */
.banner {
  width: 100%;
  height: 580px;
  position: relative;
}
.banner img {
  width: 100%;
  height: 100%;
  margin: auto;
}
.banner .item li {
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 300ms ease-in-out 0s;
}
.banner .lef {
  font-size: 60px;
  color: black;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -50px;
}
.banner .rig {
  font-size: 60px;
  color: black;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -50px;
}
.banner .page {
  display: flex;
  position: absolute;
  bottom: 5px;
  left: 50%;
  margin-left: -25px;
  background: none;
}
.banner .page li {
  width: 10px;
  height: 10px;
  background: black;
  border-radius: 50%;
  margin-right: 10px;
}
/* 导航栏 */
.nav {
  height: 50px;
  line-height: 50px;
  padding: 0 10%;
  display: flex;
  box-sizing: border-box;
  justify-content: space-between;
  background-color: rgba(138, 136, 136, 0.7);
}
.nav .logo {
  width: 8%;
  margin: auto;
  height: 100%;
}
.nav ul {
  width: 90%;
  display: flex;
  justify-content: space-around;
}
.nav ul li {
  width: 8%;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
}
.nav ul li:hover {
  color: #723a0f;
}
.nav .now {
  color: #723a0f;
}
/* 主要内容 */
.main {
  background-image: url(../img/back.png);
  background-size: 100% 100%;
  padding: 0 10%;
  box-sizing: border-box;
  overflow: hidden;
}
/* 底部 */
footer {
  height: 44px;
  line-height: 44px;
  text-align: center;
  font-weight: bold;
  background-color: rgba(138, 136, 136, 0.7);
}
